//
//  JCBaseViewController.m
//  JCBaseViewController
//
//  Created by gome on 2018/5/14.
//  Copyright © 2018年 JC. All rights reserved.
//

#import "JCBaseViewController.h"

@interface JCBaseViewController ()
@property (nonatomic, strong) NSString *nodataView;
@property (nonatomic, strong) NSString *noNetworkView;
@end

@implementation JCBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

//显示无数据页面
- (void)setJcbaseShowNoDataView:(BOOL)jcbaseShowNoDataView {
    if (_jcbaseShowNoDataView != jcbaseShowNoDataView) {
        _jcbaseShowNoDataView = jcbaseShowNoDataView;
    }
    
    if (_jcbaseShowNoDataView) {
        //        [_nodataView setShowSelf];

    } else {
        //        [_nodataView setHideSelf];
    }
}

//显示无网络页面
- (void)setJcbaseShowNoNetworkView:(BOOL)jcbaseShowNoNetworkView {
    if (_jcbaseShowNoNetworkView != jcbaseShowNoNetworkView) {
        _jcbaseShowNoNetworkView = jcbaseShowNoNetworkView;
    }
    
    if (_jcbaseShowNoNetworkView) {
    } else {
    }
}

- (void)jcbaseReferesh {
    //    ToDo sub vc for referesh
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
